Skip to main content

DescribeDomainCount

Description

call the DescribeDomainCount interface to obtain the number of domain name assets.

Request Method

POST

Request Path

/apsara/route/Sas/DescribeDomainCount

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
SourceIpBODYstringNo1.2.3.4access the IP address of the source.
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstring6FAFB857-FE24-4226-A09F-52EA5023C987request ID of the result.
TotalDomainsCountinteger1number of subdomains.
RootDomainsCountinteger27number of root sites.

Example

Successful Response example

{
"RequestId":"6FAFB857-FE24-4226-A09F-52EA5023C987",
"TotalDomainsCount":"1",
"RootDomainsCount":"27"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}